import React, { Component } from 'react';
import { Row, Col, Divider } from 'antd';
const style = { background: '#0092ff'};
class buju extends Component {
  constructor(props) {
    super(props);
    this.state = {}
  }

  //组件挂载完毕 --用于数据请求
  componentDidMount() { }

  //组件将要卸载
  componentWillUnmount() { }

  render() {
    return (
      <div>
        <Divider orientation="left">Horizontal</Divider>
        <Row gutter={16}>
          <Col className="gutter-row" span={6}>
            <div style={style}>col-6</div>
          </Col>
          <Col className="gutter-row" span={6}>
            <div style={style}>col-6</div>
          </Col>
          <Col className="gutter-row" span={6}>
            <div style={style}>col-6</div>
          </Col>
          <Col className="gutter-row" span={6}>
            <div style={style}>col-6</div>
          </Col>
        </Row>
      </div>
    );
  }
}

export default buju;